package com.wwf;

import com.wwf.util.JSONSerializer;
import com.wwf.util.RpcDecode;
import com.wwf.util.RpcEncode;
import com.wwf.util.RpcRequest;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Service;

/**
 * @author wwf
 * @date 2021年01月07日 10:44:34
 */
@Service
public class UserServiceImpl implements IUserService{

    public String sayHello(String msg) {
        System.out.println("调用成功，参数: "+msg);
        return "success";
    }


}
